/**访问根路径*/
var BASE_HREF = $.getBaseHerf();


function open(url, type) {
	if (window.location == url) {
		return;
	}
	if (type == 1) {
		window.open(url);
	} else {
		window.location = url;
	}
}